<{capture name="header"}>
  <link href="../app/ome/statics/ome.css" rel="stylesheet" type="text/css">
<{/capture}>


<{if $write != '1'}><form name="form1" method="POST" action="index.php?app=ome&ctl=admin_receipts_print&act=doDetail"><{/if}>
<div class="tableform">

<h4>发货单信息:</h4>
<input type="hidden" name="status" value="<{$status}>" />
<div class="division">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
	<th>发货单号：</th>
	<td ><{$dly.delivery_bn}></td>
	<th>订单号：</th>
	<td ><{foreach from=$order_bn item=item}><{$item}><br><{/foreach}></td>
	<th >配送方式：</th>
	<td ><{$dly.delivery}></td>
    <th >会员：</th>
    <td ><{help}><{t}><{$dly.members}><{/t}><{/help}><{$dly.member_name}></td>
</tr>
<tr>
	<th >收货人：</th>
	<td ><{$dly.consignee.name}></td>
    <th >电话：</th>
    <td ><{$dly.consignee.telephone}></td>
    <th >手机：</th>
    <td ><{$dly.consignee.mobile}></td>
    <th>Email：</th>
    <td><{$dly.consignee.email}></td>
</tr>
<tr>
    <th >邮编：</th>
    <td ><{$dly.consignee.zip}></td>
    <th >物流公司：</th>
    <td ><{if $write != '1'}><{input type="select" name="dly[logi_id]" rows=$dly_corp valueColumn="corp_id" labelColumn="name" value=$dly.logi_id}><{else}><{$dly.logi_name}><{/if}></td>
    <th >物流费用：</th>
    <td ><{$dly.delivery_cost_actual|cur}></td>
    <th >预计物流费用：</th>
    <td ><{$dly.delivery_cost_expect|cur}></td>
</tr>
<tr>
	<th >重量：</th>
	<td ><{$dly.weight}></td>
    <th >生成时间：</th>
    <td ><{$dly.create_time}></td>
    <th >物流运单号：</th>
    <td ><{if $write != '1'}><input type="text" name="dly[logi_no]" size="10"  value="<{$dly.logi_no}>" /><{else}><{$dly.logi_no}><{/if}></td>
    <th >&nbsp;</th>
    <td >&nbsp;</td>
</tr>
<tr>
	<th >订单支付方式：</th>
	<td ><b><font color="orange"><{if $dly.is_cod=='true'}>货到付款<{else}>款到发货<{/if}></font></b></td>
	<th >发货区域：</th>
	<td ><{$dly.consignee.area|region}></td>
    <th >配送地址：&nbsp;</th>
    <td ><{$dly.consignee.addr}>&nbsp;</td>
    <th >&nbsp;</th>
    <td >&nbsp;</td>
</tr>
<tr>
    <th>
             订单附言：
    </th>
    <th colspan="7">
     <{$dly.memo}>
    </th>
</tr>
</table>
</div>

<h4>操作日志:</h4>
<div class="division">
<table border="0" cellspacing="0" class="gridlist" cellpadding="0">
<thead>
<tr>
    <th >操作时间</th>
    <th >操作员</th>
    <th >操作类型</th>
    <th >操作内容</th>
</tr>
</thead>
<tbody>
<{foreach from=$log item=item}>
<tr>
    <td ><{$item.operate_time}></td>
    <td ><{$item.op_name}></td>
    <td ><{$item.operation}></td>
    <td ><{$item.memo}></td>
    </tr>
<{/foreach}>
</tbody>
</table>
</div>
<br /><{if $write != '1'}>
<h4>备注:</h4>
<div class="division">
<textarea name="dly[memo]" rows="6" cols="60"><{$dly.memo}></textarea>
<input type="hidden" name="dly[delivery_id]" value="<{$dly.delivery_id}>" />
<input type="hidden" name="ctl" value="<{$url}>" />
<input type="hidden" name="dly_count" value="<{$dly_count}>" />
</div>
</div>
<div style="text-align:center;"><{button type="submit" label="提交" }><{/if}></div>
<{if $write != '1'}></form><{/if}>
